define("pandora/dialog/1.0.0/tips-debug", [ "./dialog-debug", "pandora/overlay/1.0.0/overlay-debug", "$-debug", "pandora/widget/1.0.0/widget-debug", "pandora/base/1.0.0/base-debug", "pandora/class/1.0.0/class-debug", "pandora/events/1.0.0/events-debug", "pandora/locker/1.0.0/locker-debug", "./mask-debug" ], function(require, exports, module) {
    /**
 * 对话框
 *
 * @module Dialog
 */
    "use strict";
    var Dialog = require("./dialog-debug");
    /**
 * Tips
 * @class Tips
 * @extends Dialog
 * @constructor
 */
    var Tips = Dialog.extend({
        defaults: {
            timeout: 2,
            data: {
                close: ""
            }
        },
        render: function() {
            var self = this;
            if (!self.option("trigger")) {
                self.hide(function() {
                    this.destroy();
                });
            }
            Tips.superclass.render.apply(self);
            setTimeout(function() {
                self.close();
            }, self.option("timeout") * 1e3);
        }
    });
    module.exports = Tips;
});
